﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Process.Entities;
using Process.DAL;
using KZ.Exception;
using KZ.Utilities;

namespace Process.BLL
{
    public class BrokerBLL
    {
        public static BrokerENT GetBrokerByID(string brokerID)
        {
            return BrokerDAL.GetBrokerByID(brokerID);
        }

        public static List<BrokerENT> GetBrokerList()
        {
            return BrokerDAL.GetBrokerList();
        }

        public static List<BrokerENT> GetBrokerListForCMB()
        {
            List<BrokerENT> providerList = new List<BrokerENT>();
            providerList.Add(new BrokerENT());
            providerList.AddRange(BrokerDAL.GetBrokerList());

            return providerList;
        }
    }
}
